#ifndef BEEP_WINDOW_H
#define BEEP_WINDOW_H

#include <QWidget>
#include <QTimer>
namespace Ui {
class Beep_window;
}

class Beep_window : public QWidget
{
    Q_OBJECT

public:
    explicit Beep_window(QWidget *parent = nullptr);
    ~Beep_window();
    void paintEvent(QPaintEvent *event);
    //滴答定时器的对象
    QTimer *timer_obj = new QTimer(this);
    int time_flag = 0;
    bool eventFilter(QObject *obj, QEvent *event);
private slots:
    void on_Beep_but_pressed();

    void on_Beep_but_released();

    void on_dida_off_clicked();

    void on_dida_on_clicked();

    void on_didi_off_clicked();

    void on_didi_on_clicked();
private:
    Ui::Beep_window *ui;
};

#endif // BEEP_WINDOW_H
